﻿<%@ Page ValidateRequest="false" Language="C#" AutoEventWireup="true" CodeBehind="EnterPrisePersonalInformation.aspx.cs"
    Inherits="NJL.WebUsers.AdminEnterprise.EnterPrisePersonalInformation" %>
<%@ Register Src="../Controls/UCenterHeader.ascx" TagName="UCenterHeader" TagPrefix="uc4" %>
<%@ Register Src="../Controls/UcenterFooter.ascx" TagName="UcenterFooter" TagPrefix="uc5" %>
<%@ Register Src="../Controls/WUCUserEnterPriseLeft.ascx" TagName="WUCUserEnterPriseLeft" TagPrefix="uc6" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>基本资料</title>
    <link href="../Styles/base1.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/manage.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="../Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript"src="../ckeditor/ckeditor.js"></script>
    <script type="text/javascript">
        function hideEnterPriseinfo(id, css) {
            $('#PersonalInfo').hide();
            $('#EnterPriseInfo').hide();
            $('#ShopInfo').hide();
            $('#ShopDescription').hide();
            $(id).show();

            $('#PersonalInfoCss').removeClass();
            $('#EnterPriseInfoCss').removeClass();
            $('#ShopInfoCss').removeClass();
            $('#ShopDescriptionCss').removeClass();
            $(css).addClass('now');

            $('#info').hide();
        } 
    </script>
    <style type="text/css">
        .style1
        {
            height: 33px;
        }
    </style>
</head>
<body class="managebg">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <uc4:UCenterHeader ID="UCenterHeader1" runat="server" />
    <!--主要内容-->
    <div class="managecont02 cleanFlex" >
        <!--右侧内容-->
        <div class="f_right manageRight" id="right">
            <!--位置-->
            <div class="place">
                <span>欢迎您：<%=UserName %>&nbsp;&nbsp;[<a href="/Logout.aspx" class="green">退出登陆</a>]</span>
                <p>
                    您现在的位置是&nbsp;<strong><a href="Default.aspx">用户中心</a></strong>&gt;&gt;<strong>基本资料</strong></p>
            </div>
            <!--基本信息内容-->
            <div class="cleanFlex m_top_10">
            </div>
            <div>
                <!--标题-->
                <div class="">
                    <ul class="titleTabmanage">
                        <li id="PersonalInfoCss" class="now" runat="server">
                            <p>
                                <a href="javascript:hideEnterPriseinfo('#PersonalInfo','#PersonalInfoCss')">基本资料</a></p>
                        </li>
                        <li id="EnterPriseInfoCss" runat="server">
                            <p>
                                <a href="javascript:hideEnterPriseinfo('#EnterPriseInfo','#EnterPriseInfoCss')">企业信息</a></p>
                        </li>
                        <li id="ShopInfoCss" runat="server">
                            <p>
                                <a href="javascript:hideEnterPriseinfo('#ShopInfo','#ShopInfoCss')">商铺资料</a></p>
                        </li>
                        <li id="ShopDescriptionCss" runat="server">
                            <p>
                                <a href="javascript:hideEnterPriseinfo('#ShopDescription','#ShopDescriptionCss')">商铺介绍</a></p>
                        </li>
                    </ul>
                </div>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate></ContentTemplate>
                </asp:UpdatePanel>
                <div runat="server" class="cont" id="PersonalInfo" style="height:600px">
                            <table cellpadding="0" cellspacing="0" class="tab" width="100%">
                                <tr>
                                    <td class="left" width="80">
                                        昵称:
                                    </td>
                                    <td colspan="2">
                                        <asp:TextBox ID="txtUserName" runat="server" Width="175px" CssClass="input" 
                                            MaxLength="15"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        手机:
                                    </td>
                                    <td width="498">
                                        <asp:TextBox ID="txtMobel" runat="server" Width="175px" MaxLength="11" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        电话:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtTel" runat="server" Width="175px" MaxLength="20" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        QQ:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtQQ" runat="server" Width="175px" MaxLength="10" 
                                            CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        MSN:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtMsn" runat="server" Width="175px" MaxLength="30" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left" style="height: 33px">
                                        邮箱:
                                    </td>
                                    <td class="style1">
                                        <asp:TextBox ID="txtEmail" runat="server" Width="175px" MaxLength="50" CssClass="input" Enabled="false"></asp:TextBox>
                                    </td>
                                    <td class="style1">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td style="height:45px;">
                                        <asp:Button ID="btnSumbit" runat="server" Text="保存" OnClick="btnSumbit_Click" class="redbtn" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                <div runat="server" class="cont" id="EnterPriseInfo" style="display: none">
                            <table cellpadding="0" cellspacing="0" class="tab" width="100%">
                                <tr>
                                    <td class="left" width="80">
                                        企业名称:
                                    </td>
                                    <td colspan="2">
                                        <asp:TextBox ID="txtEPName" Enabled="false" runat="server" MaxLength="25" Width="175px" CssClass="input"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left" width="80">
                                        商户类型:
                                    </td>
                                    <td colspan="2">
                                        <asp:DropDownList ID="ddlType" runat="server" Enabled="false">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                        <%--        <tr>
                                    <td class="left" width="80">
                                        服务:
                                    </td>
                                    <td colspan="2">
                                        <asp:CheckBoxList ID="cblServiceProject" runat="server" CellPadding="0" CellSpacing="0"
                                            RepeatColumns="5">
                                        </asp:CheckBoxList>
                                    </td>
                                </tr>--%>
                                <tr>
                                    <td class="left">
                                        地址:
                                    </td>
                                    <td width="498">
                                        <asp:TextBox ID="txtEPAddress" runat="server" MaxLength="100" Width="175px" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        联系人:
                                    </td>
                                    <td width="498">
                                        <asp:TextBox ID="txtEPLinkman" runat="server" MaxLength="10" Width="175px" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        联系电话:
                                    </td>
                                    <td width="498">
                                        <asp:TextBox ID="txtEPTel" runat="server" MaxLength="20" Width="175px" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        手机:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtEPCellPhone" runat="server" MaxLength="11" Width="175px" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        QQ:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtEPQQ" runat="server" MaxLength="10" Width="175px" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td class="left">
                                        MSN:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtEPMsn" runat="server" MaxLength="30" Width="175px" CssClass="input"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                     <td></td>
                                    <td style="height:45px;">
                                        <asp:Button ID="bntEPSubmit" runat="server" Text="保 存" OnClick="bntEPSubmit_Click"
                                            class="redbtn" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                <div runat="server" class="cont" id="ShopInfo" style="display:none">
                            <table cellpadding="0" cellspacing="0" class="tab" width="100%">
                                <tr>
                                    <td style="width:100%" class="font14">
                                       <strong>商铺图片</strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Image ID="Image1" runat="server" width="210px" height="158px" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:FileUpload ID="FileUpload1" runat="server" CssClass="input" /> 
                                        <asp:Button ID="btnUpload" runat="server" Text="上传" onclick="btnUpload_Click" CssClass="greenBtn"/>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                       <strong class="font14"> 商铺简介：</strong>（不要超过100字，这里只是简单介绍一下你们的店铺）
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtCOMPANY_INTRO" TextMode="MultiLine" Height="40px" runat="server" Width="100%" CssClass="input" MaxLength="100"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                         <strong class="font14">本店招牌：</strong>（不要超过20字，这里要写你们最拿手的菜或最有特色的服务）
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtBEST_SIGN" MaxLength="20" runat="server" Width="100%" CssClass="input"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                         <strong class="font14">交通指南：</strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtTRAFFIC_GUIDE" TextMode="MultiLine" Height="60px" runat="server" Width="100%" CssClass="input"></asp:TextBox>
                                        <script type="text/javascript">
                                            CKEDITOR.replace('<%=txtTRAFFIC_GUIDE.ClientID%>',
                                            {
                                            }
                                            );
                                        </script> 
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bottom">
                                        <asp:Button ID="btnSumbitShopInfo" runat="server" Text="保存" class="redbtn" 
                                            onclick="btnSumbitShopInfo_Click" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                <div runat="server" class="cont" id="ShopDescription" style="display:none">
                            <table cellpadding="0" cellspacing="0" class="tab" width="100%">
                                <tr>
                                    <td style="width:100%">
                                        <strong class="font14"> 商铺详细介绍</strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtCOMPANY_DESCRIPTION" TextMode="MultiLine" Height="300px" runat="server" Width="100%" MaxLength="20" CssClass="input"></asp:TextBox>
                                        <script type="text/javascript">
                                            CKEDITOR.replace('<%=txtCOMPANY_DESCRIPTION.ClientID%>',
                                            {
                                        }
                                            );
                                        </script> 
                                    </td>
                                </tr>
                                <tr>
                                    <td class="bottom">
                                        <asp:Button ID="btnSubmitDescription" runat="server" Text="保 存" class="redbtn" 
                                            onclick="btnSubmitDescription_Click" />
                                    </td>
                                </tr>
                            </table>
                        </div>
                <!--我的游记-->
                <div>
                </div>
            </div>
        </div>
        <uc6:WUCUserEnterPriseLeft ID="WUCUserEnterPriseLeft1" runat="server" />
        <div class="managecontbottom">
        </div>
    </div>
    <uc5:UcenterFooter ID="UcenterFooter1" runat="server" />
     <input id="hiddenTest" type="hidden" value="<%= GetToken() %>" name="hiddenTestN"/>
    </form>
</body>
</html>
